package com.trimps.wifi.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.trimps.wifi.mapper.MultiQueryDataMapper;
import com.trimps.wifi.mapper.SnifferDataMapper;
import com.trimps.wifi.pojo.FlowData;
import com.trimps.wifi.pojo.MultiQueryData;
import com.trimps.wifi.service.MultiQueryDataService;
import com.trimps.wifi.service.SnifferDataService;

@Service("MultiQueryDataService")
public class MultiQueryDataServiceImpl implements MultiQueryDataService {
	@Autowired
	private MultiQueryDataMapper multiQueryDataMapper;	

	@Override
    public List<MultiQueryData> getMultiQueryList(String sqlStr,int num) {
       
        return this.multiQueryDataMapper.getMultiQueryList(sqlStr,num);
    }
	
	@Override
    public List<FlowData> getMacListInfo(String sqlStr,String mac) {
       
        return this.multiQueryDataMapper.getMacListInfo(sqlStr,mac);
    }

    @Override
    public int getMultiQueryListCountByKeyword(String devNo1, String startTime1, String endTime1,String devNo2, String startTime2, String endTime2) {
        return this.multiQueryDataMapper.getMultiQueryListCountByKeyword(devNo1, startTime1, endTime1, devNo2, startTime2, endTime2);
    }

}
